home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / OpenGL / glpushname.z / glpushname
Encoding:
Text File  |  2001-04-17  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee((((3333GGGG))))                 OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                 ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee,,,, ggggllllPPPPooooppppNNNNaaaammmmeeee - push and pop the name stack
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      void ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee( GLuint _n_a_m_e )
  14.  
  15.  
  16. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  17.      _n_a_m_e  Specifies a name that will be pushed onto the name stack.
  18.  
  19. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  20.      void ggggllllPPPPooooppppNNNNaaaammmmeeee( void )
  21.  
  22.  
  23. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.      The name stack is used during selection mode to allow sets of rendering
  25.      commands to be uniquely identified.  It consists of an ordered set of
  26.      unsigned integers and is initially empty.
  27.  
  28.      ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee causes _n_a_m_e to be pushed onto the name stack.  ggggllllPPPPooooppppNNNNaaaammmmeeee pops
  29.      one name off the top of the stack.
  30.  
  31.      The maximum name stack depth is implementation-dependent; call
  32.      GGGGLLLL____MMMMAAAAXXXX____NNNNAAAAMMMMEEEE____SSSSTTTTAAAACCCCKKKK____DDDDEEEEPPPPTTTTHHHH to find out the value for a particular
  33.      implementation. It is an error to push a name onto a full stack, or to
  34.      pop a name off an empty stack.  It is also an error to manipulate the
  35.      name stack between the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding
  36.      execution of ggggllllEEEEnnnndddd.  In any of these cases, the error flag is set and no
  37.      other change is made to GL state.
  38.  
  39.      The name stack is always empty while the render mode is not GGGGLLLL____SSSSEEEELLLLEEEECCCCTTTT.
  40.      Calls to ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee or ggggllllPPPPooooppppNNNNaaaammmmeeee while the render mode is not GGGGLLLL____SSSSEEEELLLLEEEECCCCTTTT
  41.      are ignored.
  42.  
  43. EEEERRRRRRRROOOORRRRSSSS
  44.      GGGGLLLL____SSSSTTTTAAAACCCCKKKK____OOOOVVVVEEEERRRRFFFFLLLLOOOOWWWW is generated if ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee is called while the name
  45.      stack is full.
  46.  
  47.      GGGGLLLL____SSSSTTTTAAAACCCCKKKK____UUUUNNNNDDDDEEEERRRRFFFFLLLLOOOOWWWW is generated if ggggllllPPPPooooppppNNNNaaaammmmeeee is called while the name
  48.      stack is empty.
  49.  
  50.      GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee or ggggllllPPPPooooppppNNNNaaaammmmeeee is executed
  51.      between a call to ggggllllBBBBeeeeggggiiiinnnn and the corresponding call to ggggllllEEEEnnnndddd.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee((((3333GGGG))))                 OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                 ggggllllPPPPuuuusssshhhhNNNNaaaammmmeeee((((3333GGGG))))
  71.  
  72.  
  73.  
  74. AAAASSSSSSSSOOOOCCCCIIIIAAAATTTTEEEEDDDD GGGGEEEETTTTSSSS
  75.      ggggllllGGGGeeeetttt with argument GGGGLLLL____NNNNAAAAMMMMEEEE____SSSSTTTTAAAACCCCKKKK____DDDDEEEEPPPPTTTTHHHH
  76.      ggggllllGGGGeeeetttt with argument GGGGLLLL____MMMMAAAAXXXX____NNNNAAAAMMMMEEEE____SSSSTTTTAAAACCCCKKKK____DDDDEEEEPPPPTTTTHHHH
  77.  
  78.  
  79. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  80.      ggggllllIIIInnnniiiittttNNNNaaaammmmeeeessss, ggggllllLLLLooooaaaaddddNNNNaaaammmmeeee, ggggllllRRRReeeennnnddddeeeerrrrMMMMooooddddeeee, ggggllllSSSSeeeelllleeeeccccttttBBBBuuuuffffffffeeeerrrr
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.